package com.handpay.nocardpay.baselibrary.pay.qrcodepay.model.bean;

import android.os.Parcel;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseResponseBean;

/**
 * Created by sxshi on 2017-10-12.
 */

public class QrcodeRspBean extends BaseResponseBean{
    private String payOrderID;
    private String qrCodeUrl;
    private String orderNo;
    private String token;

    public String getPayOrderID() {
        return payOrderID;
    }

    public void setPayOrderID(String payOrderID) {
        this.payOrderID = payOrderID;
    }

    public String getQrCodeUrl() {
        return qrCodeUrl;
    }

    public void setQrCodeUrl(String qrCodeUrl) {
        this.qrCodeUrl = qrCodeUrl;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.payOrderID);
        dest.writeString(this.qrCodeUrl);
        dest.writeString(this.orderNo);
        dest.writeString(this.token);
    }

    public QrcodeRspBean() {
    }

    protected QrcodeRspBean(Parcel in) {
        super(in);
        this.payOrderID = in.readString();
        this.qrCodeUrl = in.readString();
        this.orderNo = in.readString();
        this.token = in.readString();
    }

    public static final Creator<QrcodeRspBean> CREATOR = new Creator<QrcodeRspBean>() {
        @Override
        public QrcodeRspBean createFromParcel(Parcel source) {
            return new QrcodeRspBean(source);
        }

        @Override
        public QrcodeRspBean[] newArray(int size) {
            return new QrcodeRspBean[size];
        }
    };

    @Override
    public String toString() {
        return "QrcodeRspBean{" +
                "payOrderID='" + payOrderID + '\'' +
                ", qrCodeUrl='" + qrCodeUrl + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
